package com.zzl.study.auth.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: zhangzl
 * @date: 2023/12/14 19:28
 * @version: 1.0
 * @description: 服务提供者Controller
 */
@RestController
@RequestMapping("/provider")
public class ProviderController {

    /**
     * 打招呼
     *
     * @param name 姓名
     * @return 打招呼
     */
    @GetMapping("/hello")
    public String hello(@RequestParam("name") String name) {
        return "Hello " + name;
    }

}
